package org.jeecg.modules.planProduction.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 生产计划
 * @Author: jeecg-boot
 * @Date:   2025-02-10
 * @Version: V1.0
 */
@ApiModel(value="plan_production对象", description="生产计划")
@Data
@TableName("plan_production")
public class PlanProduction implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**单号*/
	@Excel(name = "单号", width = 15)
    @ApiModelProperty(value = "单号")
    private java.lang.String orderNo;
	/**计划生产日期*/
	@Excel(name = "计划生产日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "计划生产日期")
    private java.util.Date productDay;
	/**计划开始时间*/
	@Excel(name = "计划开始时间", width = 15)
    @ApiModelProperty(value = "计划开始时间")
    private java.lang.String startTime;
	/**计划结束时间*/
	@Excel(name = "计划结束时间", width = 15)
    @ApiModelProperty(value = "计划结束时间")
    private java.lang.String endTime;
	/**需求物料时间*/
	@Excel(name = "需求物料时间", width = 15)
    @ApiModelProperty(value = "需求物料时间")
    private java.lang.String needTime;
	/**订单发布时间*/
	@Excel(name = "订单发布时间", width = 15)
    @ApiModelProperty(value = "订单发布时间")
    private java.util.Date releaseTime;
	/**配货完成时间*/
	@Excel(name = "配货完成时间", width = 15)
    @ApiModelProperty(value = "配货完成时间")
    private java.util.Date distributionTime;
	/**所属生产线*/
	@Excel(name = "所属生产线", width = 15, dictTable = "basic_production_line", dicCode = "name", dicText = "name")
    @Dict(dictTable = "basic_production_line", dicCode = "name", dicText = "name")
    @ApiModelProperty(value = "所属生产线")
    private java.lang.String productionLine;
	/**总体积*/
	@Excel(name = "总体积", width = 15)
    @ApiModelProperty(value = "总体积")
    private java.lang.String volume;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remarks;
    /**生产计划状态*/
    @Excel(name = "生产计划状态", width = 15, dicCode = "plan_production_status")
    @Dict(dicCode = "plan_production_status")
    @ApiModelProperty(value = "生产计划状态")
    private java.lang.Integer status;
}
